package com.example.demo;

import com.example.reptile.Reptile;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;

import java.util.List;

/**
 * @Classname Demo
 * @Description TODO
 * @Date 2022/4/17 19:37
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public class Demo {

    public static void main(String[] args) {
        Reptile reptile = new Reptile();
        WebDriver webDriver =reptile.getChromeDriver();
        webDriver.get("");
        List<WebElement> elementsByXPath = webDriver.findElements(By.xpath("//ul[@class='lh']/li"));
    }
}
